package net.hn.hnms.biz.gasext.dws.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.gasext.dws.domain.DmZdsbZtfTfssYxztRtHPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS(value = "dm")
public interface DmZdsbZtfTfssYxztRtHMapper extends BaseMapper<DmZdsbZtfTfssYxztRtHPo> {
    /**
     * 获取当前煤矿的主通风系统得开关信息
     *
     * @param orgCode
     * @return
     */
    public List<DmZdsbZtfTfssYxztRtHPo> equipmentSwitch(@Param("orgCode") String orgCode);

    /**
     * 灵泉煤矿-主通风系统得开关信息
     * @param orgCode
     * @return
     */
    DmZdsbZtfTfssYxztRtHPo equipmentSwitchByCreateTimeAndCode(@Param("orgCode") String orgCode,@Param("code") String code);
}
